//自行定义 ts 的基础类型
//string
let arr:string="123456"
console.log(arr,"arr");
//numder
let arr1:number=123456
console.log(arr1,"arr1");
//boolean
let arr2:boolean=false
console.log(arr2,"arr2");

//自行定义 ts 的数组类型
let list:number[]=[1,2,3,4,5,6]
console.log(list,"list");

//自行定义 ts 的元组类型
let aa:[string,number]=["刘春雷",28]
console.log(aa,"aa");
let bb:[string,number]
bb=["雷",28]
console.log(bb,"bb");

//自行定义 ts 的枚举类型
enum Color {Red,Green,Blue}
console.log(Color,"Color"); 
